<html>
<head><meta charset="utf-8"><title>unpretty options for showing lifetime of function &amp; its args · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/unpretty.20options.20for.20showing.20lifetime.20of.20function.20.26.20its.20args.html">unpretty options for showing lifetime of function &amp; its args</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209170831"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/unpretty%20options%20for%20showing%20lifetime%20of%20function%20%26%20its%20args/near/209170831" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/unpretty.20options.20for.20showing.20lifetime.20of.20function.20.26.20its.20args.html#209170831">(Sep 05 2020 at 09:56)</a>:</h4>
<p>I tried a few unpretty options like hir,typed and mir but it doesn't show full lifetime of arguments.<br>
Does rustc have that option ?</p>



<a name="209170973"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/unpretty%20options%20for%20showing%20lifetime%20of%20function%20%26%20its%20args/near/209170973" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/unpretty.20options.20for.20showing.20lifetime.20of.20function.20.26.20its.20args.html#209170973">(Sep 05 2020 at 10:00)</a>:</h4>
<p>dummy code here: <a href="https://rust.godbolt.org/z/rozzh8">https://rust.godbolt.org/z/rozzh8</a><br>
Wanted to understand lifetime of unsafe code.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>